-
-
Notifications
You must be signed in to change notification settings - Fork 3k
don't crash if exceptiongroup has only hidden tb frames #14025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
webknjaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, short of one cosmetic improvement request.
|
I played around a bit with the test and noticed that "tbstyle=line" now outputs "All traceback entries are hidden", and "ValueError: bar" will match in all cases. So I removed/updated the relevant if statements. |
Backport to 9.0.x: 💚 backport PR created✅ Backport PR branch: Backported as #14045 🤖 @patchback |
* don't crash if exceptiongroup has only hidden tb frames (cherry picked from commit fa6a232)
fixes #13734
yet another bandaid that would've been avoided if we had full support for exception groups in
ExceptionInfo& friends 😶 see #9159